-
Notifications
You must be signed in to change notification settings - Fork 91
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add DEB archive support #332
base: main
Are you sure you want to change the base?
Conversation
Can one of the admins verify this patch?
|
Are there any actual issues caused by using |
I don't think its a great idea to pull in a dependency on dpkg, because either all distros will need to packaged deb, or app authors can't rely on the deb support in flatpak-builder. Anyway, debs are just ar archives, so i think we could extract them manually. |
@barthalion Most nowadays .deb packages contain @alexlarsson |
debs can just be extracted using ar, that's the underlying format. If this
were to be a first class thing in flatpak-builder, you could just use ar to
extract the data tarball inside and pipe the output to tar instead of
having to rely on deb-specific tools.
…On Thu, Mar 19, 2020, 10:23 AM Alexander Larsson ***@***.***> wrote:
I don't think its a great idea to pull in a dependency on dpkg, because
either all distros will need to packaged deb, or app authors can't rely on
the deb support in flatpak-builder.
Anyway, debs are just ar archives, so i think we could extract them
manually.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#332 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAM4YSLHTS23GG3HF4LNT23RII2HTANCNFSM4LO2X3UA>
.
|
@gasinvein Its available on some distros yes, but it is rarely installed. Pulling in a hard dep on it is not an easy sell. |
11a7f3e
to
b60b6b8
Compare
@alexlarsson Well, how to approach this, then? Assume there is always |
I can’t imagine a deb file with files structure compatible with flatpak. One way or another you will need to use the simple build system to move files around. Why not keep extraction there as well?
… On 19 Mar 2020, at 16:58, Filippe LeMarchand ***@***.***> wrote:
@alexlarsson Well, how to approach this, then? Assume there is always data.tar.xz? Listing ar contents and selecting correct compression type is beyond my C skill.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
There is already RPM archive support (via |
Interesting, I don't think I've seen it used on Flathub. But that's fair enough. |
b60b6b8
to
7b7fe37
Compare
Given that flatpak-builder already depends on the uncommon |
This requires
dpkg-deb
utility (part of dpkg) on host. While we could usear p | tar x
instead, using dpkg itself for this task is easier and surely more robust.I have literally zero C programming skill, so possibly did some mistakes here.